package com.zhejiangzhengyuan.municipal_common.entity.vo;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author lin_ju
 * @create on 2019/12/4
 */
@Data
@ApiModel("message 实体承载")
public class MessageDetail {
  @ApiModelProperty("详细消息Id")
  private Long id;

  @ApiModelProperty(value = "告警原因")
  private String reason;

  @ApiModelProperty(value = "设备编号")
  private String dCode;

  @ApiModelProperty(value = "数据来源")
  private String dataOrigin;

  @ApiModelProperty(value = "上报人")
  private String username;

  @ApiModelProperty(value = "上报时间")
  @JSONField(format = "yyyy-MM-dd HH:mm:ss")
  private Date createTime;
}
